export default function (state = { myCanvas: { ctx: null, el: null } }, action) {
  switch (action.type) {
    case 'setMyCanvas':
      return { myCanvas: action.myCanvas }
    default:
      return state
  }
}
